<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<title><?php echo ($site_name); ?></title>
<meta name="keywords" content="<?php echo ($site_seo_keywords); ?>" />
<meta name="description" content="<?php echo ($site_seo_description); ?>">
<meta name="author" content="ThinkCMF">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>致医商城-扫日劳清肺止咳胶囊</title>
    <meta name="keywords" content="-致医商城">
    <meta name="description" content="-致医商城">
    <link href="/themes/simplebootx/Public/assets/css/header.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/list.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/base.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/entrust.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.form.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/formValidator-4.1.1.js?8"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/formValidatorRegex.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.jcarousel.min.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.jqzoom-core.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/imall-countdown.js"></script>
    <style type="text/css">
    </style>
    <script type="text/javascript">
        var paramData={
            webRoot:"",
            page:"1",
            totalCount:"2",
            category:"1",
            q:"",
            keyword:"",
            order:"",
            productCollectCount:"",
            cookieNum:0
        }
    </script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/productlist.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/entrust.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/productLeft.js"></script>

</head>

<body class="body-white">
<style>
    .b_info .pic a img{
        width: 220px;
    }
    .rowR .pic a img{
        width: 80px;
    }
</style>
	
<script type="text/javascript">
	var goToUrl = function(url){
		setTimeout(function(){window.location.href=url},1)
	};
	var Top_Path = {webRoot:"",topParam:"index"};

</script>
<link rel="icon" href="http://www.zhiyimall.com/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://www.zhiyimall.com/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/top.js"></script>
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/addFavorite.js"></script>
<!--header-->
<div class="header">
	<div class="topBg">
		<div class="h-top">
			<div class="welcome">

				您好，<a class="cur user-nicename" href="<?php echo U('product/member/index');?>"></a>欢迎来到致医商城！
                <span class="logout" style="display: none;">[<a href="<?php echo U('user/index/logout');?>" title="退出">退出</a>]</span>
				<span class="user_nologin" style="display: none;">
				[<a class="cur" href="<?php echo leuu('user/login/index');?>" title="登录">登录</a>]
				[<a href="<?php echo leuu('user/register/index');?>" title="新用户注册">注册</a>]
				</span>
			</div>
			<ul class="topR">
				<p style="margin: 3px"> 欢迎来到北京致医健康信息技术有限公司 全国热线：4006669196</p>
				<div class="clear"></div>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div class="h-btm">
		<div class="logo frameEdit" frameinfo="logo|350X115">
			<a href="/" title="致医商城" target="_blank"><img src="/themes/simplebootx/Public/assets/images/e5ec042d-6f3d-4ec0-996b-f461fdef09a7.png" width="350" height="115" alt="致医商城" title=" " border="0"></a></div>
		<div class="search-box">
			<form id="searchForm" action="/" method="get">
				<div class="form">
                    <input type="hidden" name="g" value="product"/>
                    <input type="hidden" name="m" value="list"/>
                    <input type="hidden" name="a" value="index"/>
					<input class="put" type="text" id="searchFields" name="keyword" placeholder="请输入关键字：药品名称">
					<div class="search-btn"><a href="$('#searchForm').submit();">搜索</a></div>
					<div class="clear"></div>
				</div>
			</form>
			<ul class="hotFont">
				<p>热门搜索：</p>
				<li>
					<a href="<?php echo U('product/list/index',array('keyword'=>'碳酸钙'));?>" title="碳酸钙" class="cur">碳酸钙</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'感冒颗粒'));?>" title="感冒颗粒">感冒颗粒</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'五子衍宗丸'));?>" title="五子衍宗丸">五子衍宗丸</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'抗病毒口服液'));?>" title="抗病毒口服液">抗病毒口服液</a>
					<a href="<?php echo U('product/list/index');?>" title=""></a>
				</li>
				<div class="clear"></div>
			</ul>
		</div>
		<div class="btm-r frameEdit" frameinfo="top_tel_adv|300X80">
			<div class="pic">
			</div>
		</div>
		<div class="clear"></div>
	</div>
</div>

<!--menu-->
<div class="menuBg">
	<div class="menu">
		<div class="menu-l l_btn">
			<div class="all"><em></em>全部药品分类</div>
			<div class="popup me_Layer" style="<?php if($open_menu == true){ ?>display:block;<?php }else{ ?>display:none;<?php } ?>">
				<input type="hidden" id="isIndex" value="<?php if($open_menu==true): ?>Y<?php endif; ?>">
                <?php if(is_array($cat_list)): foreach($cat_list as $cat_index=>$cat_item): ?><ul class="itemBox">
                        <li class="item <?php if($cat_index%2!=0): ?>item2<?php endif; ?>">
                            <div class="icon">
                                <img src="/themes/simplebootx/Public/assets/images/icon<?php echo ($cat_index+2) ?>.png">
                            </div>
                            <!--链接-->
                            <div class="title"><a href="<?php echo U('Product/list/index',array('tid'=>$cat_item['id']));?>" title="感冒呼吸"><?php echo ($cat_item["title"]); ?></a></div>
                        </li>
                    </ul><?php endforeach; endif; ?>

			</div>
		</div>
		<ul class="menu-m frameEdit" frameinfo="nav_link">
			<li><a <?php if(I('get.g') == 2): ?>class="cur"<?php endif; ?> href="/">首页</a><em></em></li>
			<a <?php if(I('get.id') == 2): ?>class="cur"<?php endif; ?> href="<?php echo U('Product/Article/detail1',array('id'=>2));?>" title="关于我们">关于我们</a>
			<a <?php if(I('get.id') == 3): ?>class="cur"<?php endif; ?> href="<?php echo U('Product/Article/detail1',array('id'=>3));?>" title="联系我们">联系我们</a>
			<a <?php if(I('get.a') == 'information'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/information');?>">资讯频道</a>
			<a <?php if(I('get.a') == 'summer'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/summer');?>">夏季常用药</a>
			<a <?php if(I('get.a') == 'sheet'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/sheet');?>">药品数据表【收费】</a>
		</ul>
		<div class="clear"></div>
	</div>
</div>


    <div class="list_main">
    <ul class="position">
        <li>
            <a href="/" title="返回首页">返回首页</a><span>&gt;</span>
            <a href="<?php echo U('Product/article/summer');?>" title="点击进入夏季常用药">夏季常用药</a>
        </li>
    </ul>
    <ul class="list_m1">
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/productLeft.js"></script>
    <script type="text/javascript">
    </script>

    <li class="m1L">
        <div class="l_m1">
            <div class="m1_layer"><i>药品推荐</i></div>
            <div class="shop_info">
                <?php if(is_array($rec_goods_list)): foreach($rec_goods_list as $key=>$ritem): $picture_arr = explode(",",$ritem['pictures']); $picture = $picture_arr[0]; ?>
                    <ul class="row">
                        <li class="rowR">
                            <div class="pic"><a href="<?php echo U('product/detail/index');?>&id=<?php echo ($ritem["id"]); ?>" title="<?php echo ($ritem["pname"]); ?>" target="_blank"><img src="<?php echo sp_get_image_preview_url($picture);?>" alt="维生素AD滴剂1岁以下"></a></div>
                            <div class="title"><a href="<?php echo U('product/detail/index');?>&id=<?php echo ($ritem["id"]); ?>" title="<?php echo ($ritem["pname"]); ?>" target="_blank"><?php echo ($ritem["pname"]); ?></a></div>
                        </li>
                    </ul><?php endforeach; endif; ?>
                <div class="clear"></div>
            </div>
        </div>
    </li>
    <li class="m1R">
    <div class="r_m3" style="margin-top: 0px;">
        <div class="r-m3-layer">
            <div class="l">夏季常用药</div>
        </div>

    </div>

    <div class="r_m4">
    <div class="m4_box">
    <div class="m2L frameEdit main_recommend_prd" frameinfo="main_recommend_prd|null|Y">
    <?php if(is_array($list)): foreach($list as $key=>$litem): $picture_arr = explode(",",$litem['pictures']); $picture = $picture_arr[0]; ?>
        <div class="b_info cur" style="height: auto; width:994px; margin-left: 0px;margin-right: 0px;">
            <div class="pic" style="margin-left: 10px; float: left">
                <a href="<?php echo U('product/detail/index');?>&id=<?php echo ($litem["id"]); ?>" alt="<?php echo ($litem["pname"]); ?>"><img src="<?php echo sp_get_image_preview_url($picture);?>"></a>
            </div>
            <div style="margin: 10px auto 10px 10px; float: left; width: 709px;">
                <div class="title" style="margin-left: 0px; font-size: 18px;">
                    <a href="<?php echo U('product/detail/index');?>&id=<?php echo ($litem["id"]); ?>" style="color: #33CCCC;"><?php echo ($litem["pname"]); ?></a>
                </div>
               <?php echo ($litem["desc"]); ?>
            </div>
        </div><?php endforeach; endif; ?>
    <div class="clear"></div>
    </div>
    <div class="clear"></div>
        <div class="num page" style="float: right;">
	<div style="float: right;">
		<div id="infoPage">
			<ul>
				<?php if($page>1){ ?>
				<li>
					<a href="<?php echo ($url); ?>&page=<?php echo $page-1; ?>" class="upPage" title="上一页">上一页</a>
				</li>
				<?php } ?>

				<?php $first_num = $page-2; if($first_num<1){ $first_num = 1; } $end_num = $page+2; if($end_num>$page_num){ $end_num = $page_num; } for($i=$first_num;$i<=$end_num;$i++){ ?>
				<li>
					<a <?php if($i==$page): ?>class="nowPage"<?php else: ?>class="everyPage"  href="<?php echo ($url); ?>&page=<?php echo $i; ?>"<?php endif; ?>><?php echo ($i); ?></a>
				</li>
				<?php } ?>

				<?php if($page<$page_num){ ?>
				<li>
					<a href="<?php echo ($url); ?>&page=<?php echo $page+1; ?>" class="downPage" title="下一页">下一页</a>
				</li>
				<?php } ?>
				<li>
					<div id="page-skip">&nbsp;&nbsp;第&nbsp;<input id="inputPage" value="<?php echo ($page); ?>">&nbsp;页<button href="javascript:;" onclick="go_page()" class="goToPage">确定</button><div>

					</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>
<script>
	function go_page(){
		var page = $("#inputPage").val();
		location.href="<?php echo ($url); ?>&page="+page;
	}
</script>
    <div class="clear"></div>
    </div>
    </div>
    </li>

    <li class="clear"></li>
    </ul>
    </div>


    <!--页脚-->
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/scrollTop.js"></script>
<script type="text/javascript">
	var jiathis_config={
		summary:"",
		hideMore:false
	}

	$(document).ready(function(){

		$(window).scroll(function() {
			var topheight=$(".back-top").offset().top;
//            $(".wx-popup").css({ top: topheight + "px" });
//            $(".se-popup").css({ top: topheight+50 + "px" });
		});


		$("#2dbcode").hover(function(){
//            var topheight=$(".back-top").offset().top;
//            $(".wx-popup").css("top",topheight);
			$(".wx-popup").show();
		},function(){
			$(".wx-popup").hide();
		});

		$("#ziaxian").hover(function(){
//            var topheight=$(".back-top").offset().top;
//            $(".se-popup").css({ top: topheight + "px" });
			$(this).find(".se-popup").show();
		},function(){
			$(this).find(".se-popup").hide();
		});
	});
	$(function(){
		$(".simple").scrollTop1();
//        window.onscroll=function(){
//            document.documentElement.scrollTop>0?$("#goTopBtn").css("display",""):$("#goTopBtn").css("display","none");
//        }
	});
</script>
<div class="footer">
	<div class="foot_ba frameEdit" frameinfo="custom1">
		<p>
			<span style="font-size:16px;"><strong>&nbsp;</strong></span></p>
		<p style="text-align: center;">
			&nbsp;</p>
		<p style="text-align: center;">
			<span style="font-size:12px;"><span style="font-family: 微软雅黑;">Copyright ©2016-2017 All rights reserved 北京致医健康信息技术有限公司</span></span></p>
		<p style="text-align: center;">
			<span style="font-size:12px;"><span style="font-family: 微软雅黑;">网站备案/许可证号： 京ICP备17003706号-3</span></span></p>
	</div>
</div>


<script type="text/javascript">
	//全局变量
	var GV = {
		ROOT: "/",
		WEB_ROOT: "/",
		JS_ROOT: "public/js/"
	};
</script>
<!-- Placed at the end of the document so the pages load faster -->
<!--<script src="/public/js/jquery.js"></script>-->
<!--<script src="/public/js/wind.js"></script>-->
<!--<script src="/themes/simplebootx/Public/assets/simpleboot/bootstrap/js/bootstrap.min.js"></script>-->
<!--<script src="/public/js/frontend.js"></script>-->
<script>
	$(function(){
//		$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });

//		$("#main-menu li.dropdown").hover(function(){
//			$(this).addClass("open");
//		},function(){
//			$(this).removeClass("open");
//		});

		$.post("<?php echo U('user/index/is_login');?>",{},function(data){
			if(data.status==1){
				if(data.user.avatar){
//					$("#main-menu-user .headicon").attr("src",data.user.avatar.indexOf("http")==0?data.user.avatar:"<?php echo sp_get_image_url('[AVATAR]','!avatar');?>".replace('[AVATAR]',data.user.avatar));
				}

				$(".user-nicename").text(data.user.user_nicename!=""?data.user.user_nicename:data.user.user_login+",");
				$(".user-nicename").show();
                $(".logout").show();
				$(".user_nologin").hide();
			}
			if(data.status==0){
				$(".user_nologin").show();
				$(".user-nicename").hide();
			}

			/* $.post("<?php echo U('user/notification/getLastNotifications');?>",{},function(data){
			 $(".nav .notifactions .count").text(data.list.length);
			 }); */

		});
//		;(function($){
//			$.fn.totop=function(opt){
//				var scrolling=false;
//				return this.each(function(){
//					var $this=$(this);
//					$(window).scroll(function(){
//						if(!scrolling){
//							var sd=$(window).scrollTop();
//							if(sd>100){
//								$this.fadeIn();
//							}else{
//								$this.fadeOut();
//							}
//						}
//					});
//
//					$this.click(function(){
//						scrolling=true;
//						$('html, body').animate({
//							scrollTop : 0
//						}, 500,function(){
//							scrolling=false;
//							$this.fadeOut();
//						});
//					});
//				});
//			};
//		})(jQuery);
//
//		$("#backtotop").totop();


	});
</script>



</body>
</html>